﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace attribute
{
    public class Product
    {
        [Description("商品名称1")]
        [DisplayName("商品名称2")]
        [MyDescription(Name = "商品名称3")]
        // C# 8.0所有的引用类型默认都是不可为空
        public string? ProductName { get; set; }
    }
}
